All right, so, uh, them has several modes and we've discussed several of them already, but one mode
that I want to show you is very important for you to know, and that's the visual mode, visual visual
block mode or just visual mode.
And you can get into a visual mode to see how many times I can say visual mode by hitting the letter
V.
And if you see in the bottom there, it's get you individual mode.
And then when we move the mouse to remove the characters so that we can highlight text, you can highlight
an entire sentence, you can highlight, etc., etc..
Now, to get out of that, obviously you could escape.
And if you wanted to get into a visual block mode or like a visual line mode, you would hit capital
the and that hits you in the visual line mode and you can actually now highlight all of that.
Now, the reason why I'm showing you this now is because it comes in really handy.
If you want to do cutting, copying and pasting and cutting, copying and pasting in vim is not what
you think it is.
It's not.
This is before cutting and copying and pasting.
It was called something else.
It's called yanking and putting.
So I'll get individual Blackbaud right and I'll highlight this text doesn't really matter, and I'll
get out of that, didn't mean to do it and get back individual blockquote.
And I will highlight this text and I'm still in visual Wiimote.
And what I'm going to do is I'm going to.
Yank this text by hitting the letter Y, and it shows on the bottom four lines right now, if I wanted
to place that somewhere, I would.
Basically, the letter P four put.
That yanks it and then puts it.
Now, if I wanted to cut it, I'll get back into visual line mode and then hit deep and what actually
that does that it hits delete but delete puts it in a buffer.
It doesn't actually delete it.
It just puts it in a buffer.
So you can once you deleted something.
Cut it and then put it somewhere else, so I'm going to move down here, OK?
And then.
Put it here.
Actually, I think that was just the letter D I was supposed to that.
That's my mistake.
So this is why I'm doing it.
And I made a mistake.
So it's just one letter D, so I'm going to put it in a visual block mode and I'm going to hit D.
OK, and then I'm going to put it here.
So one one letter D cuts and then P puts if you want to copy it it's letter Y.
Lowercase Y.
And in lower case P, to put it so that's cutting, copying and pasting, and again, we've also discussed
visual mode.
So if I wanted to just basically.
I like.
There's one sentence and then copy it.
Why?
And then if I wanted to paste it or put it, I hit P.
Now, I wanted to cut it out here, one letter D..
That would cut it, basically would delete it, put it in its buffer, and again, if I wanted to paste
it, I would hit the letter P.
So hopefully this makes sense, so I showed you a visual mode, visual block mode or visual line or
rather cutting by using the letter D.
Copying by using the letter Y or yanking and then putting is the letter P.
Please tell me if this makes sense.
In the comments or if you have any questions about this, please let me know.
Visual mode can really help you gain some idea of exactly what you're doing.
You could use it with all of the other previous commands I've showed you.
So as you can see, you don't have to use it with everything.
But if you put yourself in the visual mode, you can actually see what you're highlighting.
Where exactly you know what what text you're going to get rid of, et cetera, or what text you're going
to copy, it comes in really handy.
So I hope you found this tutorial to be helpful.